* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    display: flex;
    min-height: 100vh;
    padding: 0;
    background: url('../../IMG/login/login-back.png') no-repeat center center fixed;
    background-size: cover;
}

#container {
    display: flex;
    width: 100%;
    height: 100vh;
    backdrop-filter: blur(2px);
}

#left {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-width: 50%;
}

#left img:last-child {
    position: absolute;
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

#right {
    width: 900px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h2 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 28px;
}

.login-box {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.tab-switcher {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tab {
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    position: relative;
    font-size: 16px;
    transition: color 0.2s;
}

.tab:hover {
    color: #4CAF50;
}

.tab.active {
    color: #4CAF50;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4CAF50;
    animation: underline 0.3s ease-out;
}

@keyframes underline {
    from { width: 0; }
    to { width: 100%; }
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    color: rgb(170, 171, 175);
    font-size: 12px;
    margin-bottom: 4px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s;
    background-color: rgba(255, 255, 255, 0.8);
}

.form-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
    background-color: white;
}

.input-with-button {
    display: flex;
    gap: 8px;
}

.input-with-button input {
    flex: 1;
}

.get-code-button {
    background: rgb(254, 254, 254);
    color: rgb(121, 192, 243);
    border: none;
    border-radius: 8px;
    padding: 0 16px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
    height: fit-content;
    font-size: 14px;
    margin-top: 12px;
}

.get-code-button:hover {
    text-decoration: underline;
    transform: translateY(-2px);
}

.submit-button {
    width: 100%;
    padding: 14px;
    background: rgb(188, 229, 154);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.submit-button:hover {
    background: rgb(135, 209, 73);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.form-footer a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.2s;
}

.form-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    #left {
        height: 200px;
        min-width: 100%;
    }

    #right {
        width: 100%;
        padding: 30px 20px;
    }

    .login-box {
        background-color: rgba(255, 255, 255, 0.95);
    }
}